﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace Coder.Beer.Robot.Api.Migrations
{
    public partial class Init : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.CreateTable(
                name: "UserConnecteds",
                columns: table => new
                {
                    QQ = table.Column<string>(type: "text", nullable: false),
                    BeerUsername = table.Column<string>(type: "text", nullable: true),
                    GiteeHome = table.Column<string>(type: "text", nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_UserConnecteds", x => x.QQ);
                });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropTable(
                name: "UserConnecteds");
        }
    }
}
